﻿using System;
using System.Collections.Generic;

using System.Text;

namespace HZ.DrugTrade.Model.Query
{
    [Serializable]
    /// <summary>
    /// 医疗机构企业查询实体
    /// </summary>
    public class DistributionRelation: IQuery
    {
        

        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName
        {
            get;
            set;
        }

        /// <summary>
        /// 剂型名称
        /// </summary>
        public string MedicineModelName
        {
            get;
            set;
        }

        /// <summary>
        /// 规格
        /// </summary>
        public string Outlookc
        {
            get;
            set;
        }

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit
        {
            get;
            set;
        }

        /// <summary>
        /// 目录名称
        /// </summary>
        public string SortName
        {
            get;
            set;
        }

        /// <summary>
        /// 转换系数
        /// </summary>
        public int Factor
        {
            get;
            set;
        }


        /// <summary>
        /// 包装
        /// </summary>
        public string Pack
        {
            get;
            set;
        }

        /// <summary>
        /// 产品名称称
        /// </summary>
        public string GoodsName
        {
            get;
            set;
        }

        /// <summary>
        ///  生产企业名称
        /// </summary>
        public string CompanyName_SC
        {
            get;
            set;
        }

        /// <summary>
        /// 投标企业名称
        /// </summary>
        public string CompanyName_TB
        {
            get;
            set;
        }

        /// <summary>
        /// 配送企业名称集合（多个以,分隔）
        /// </summary>
        public string CompanyNames_PS
        {
            get;
            set;
        }

        /// <summary>
        /// 中标价
        /// </summary>
        public double? ProcurePrice
        {
            get;
            set;
        }

        /// <summary>
        /// 中标价(低于)
        /// </summary>
        public double? ProcurePriceTo
        {
            get;
            set;
        }

        /// <summary>
        /// 中标价(高于)
        /// </summary>
        public double? ProcurePriceFrom
        {
            get;
            set;
        }

        /// <summary>
        /// 采购目录是否启用
        /// </summary>
        public bool? ProcureCatalog_IsUsing
        {
            get;
            set;
        }

        /// <summary>
        /// 是否流程中
        /// </summary>
        public bool? IsFlowing
        {
            get;
            set;
        }

        /// <summary>
        /// 目录来源（0.正常采购1临时采购）
        /// </summary>
        public string SortSource
        {
            get;
            set;
        }

        /// <summary>
        /// 目录添加时间
        /// </summary>
        public System.DateTime? AddTime
        {
            get;
            set;
        }

        /// <summary>
        /// 目录添加时间（止于）
        /// </summary>
        public System.DateTime? AddTimeTo
        {
            get;
            set;
        }

        /// <summary>
        /// 目录添加时间（始于）
        /// </summary>
        public System.DateTime? AddTimeFrom
        {
            get;
            set;
        }

        /// <summary>
        /// 采购项目名称
        /// </summary>
        public string ProjectName
        {
            get;
            set;
        }

        /// <summary>
        /// 采购开始时间
        /// </summary>
        public System.DateTime? ProcureStartTime
        {
            get;
            set;
        }

        /// <summary>
        /// 采购开始时间（始于）
        /// </summary>
        public System.DateTime? ProcureStartTimeFrom
        {
            get;
            set;
        }

        /// <summary>
        /// 采购开始时间（止于）
        /// </summary>
        public System.DateTime? ProcureStartTimeTo
        {
            get;
            set;
        }

        /// <summary>
        /// 采购结束时间 
        /// </summary>
        public System.DateTime? ProcureEndTime
        {
            get;
            set;
        }

        /// <summary>
        /// 采购结束时间（止于）
        /// </summary>
        public System.DateTime? ProcureEndTimeTo
        {
            get;
            set;
        }

        /// <summary>
        /// 采购结束时间（始于）
        /// </summary>
        public System.DateTime? ProcureEndTimeFrom
        {
            get;
            set;
        }

        /// <summary>
        /// 采购项目编号
        /// </summary>
        public string ProjectID
        {
            get;
            set;
        }

        /// <summary>
        /// 可配送企业编号集合（多个以,分隔）
        /// </summary>
        public string CompanyIDs_PS
        {
            get;
            set;
        }

        /// <summary>
        /// 商品编号
        /// </summary>
        public string GoodsID
        {
            get;
            set;
        }

        /// <summary>
        /// 产品编号
        /// </summary>
        public string ProductID
        {
            get;
            set;
        }

        /// <summary>
        /// 分类编号
        /// </summary>
        public string SortID
        {
            get;
            set;
        }

        /// <summary>
        /// 生产企业编号
        /// </summary>
        public string CompanyID_SC
        {
            get;
            set;
        }

        /// <summary>
        /// 投标企业编号
        /// </summary>
        public string CompanyID_TB
        {
            get;
            set;
        }

        /// <summary>
        /// 父分类编号
        /// </summary>
        public string ParentSortID
        {
            get;
            set;
        }

        /// <summary>
        /// 采购目录编号
        /// </summary>
        public string ProcureCatalogID
        {
            get;
            set;
        }

        /// <summary>
        /// 医疗机构编号
        /// </summary>
        public string HospitalID
        {
            get;
            set;
        }

        /// <summary>
        /// 地区编号
        /// </summary>
        public string AreaID
        {
            get;
            set;
        }

        /// <summary>
        /// 医疗机构名称
        /// </summary>
        public string HospitalName
        {
            get;
            set;
        }

        /// <summary>
        /// 医疗机构联系地址
        /// </summary>
        public string HospitalAddress
        {
            get;
            set;
        }


        /// <summary>
        /// 医疗机构联系人
        /// </summary>
        public string ContactPerson
        {
            get;
            set;
        }

        /// <summary>
        ///  医疗机构联系电话
        /// </summary>
        public string ContactTel
        {
            get;
            set;
        }

        /// <summary>
        /// 医疗机构是否启用采购目录
        /// </summary>
        public bool? Hospital_IsUsing
        {
            get;
            set;
        }

        /// <summary>
        /// 流程编号
        /// </summary>
        public string FlowID
        {
            get;
            set;
        }

        /// <summary>
        /// 实际配送企业名称
        /// </summary>
        public string CompanyName_PS
        {
            get;
            set;
        }

        /// <summary>
        /// 医疗机构是否启用该配送关系
        /// </summary>
        public bool? DistributionIsUsing
        {
            get;
            set;
        }

        /// <summary>
        /// 采购价格
        /// </summary>
        public double? Price
        {
            get;
            set;
        }


        /// <summary>
        /// 配送企业编号
        /// </summary>
        public string CompanyID_PS
        {
            get;
            set;
        }
        /// <summary>
        ///  是否能配送(1能配送,0 不能配送)
        /// </summary>
        public bool? CanDistribute { get; set; }

        /// <summary>
        /// 产品名称 拼音码
        /// </summary>
        public string PinyinCode { get; set; }
        /// <summary>
        /// 五笔码
        /// </summary>
        public string WBCode { get; set; }

        /// <summary>
        /// 排序字段【格式如：UserID ASC,UserName DESC, IsAdmin ASC】
        /// </summary>
        public string SortFields { get; set; }

        /// <summary>
        /// 自定义查询字段[格式: UserID = '1234' AND Name = 'Zeus2' AND ID NOT (SELECT ID FROM XX)]
        /// </summary>
        public string Append { get; set; }
    }
}
